class Test:
    count = 21

    def print_num(self):
        count = 20
        self.count = 22
        self.count += count;
        print(count)
        print(self.count)

    def eat(self):
        print(self)
        print('喜欢吃')

    def drink(self):
        print(self)
        print('喜欢喝')

test = Test()
# test.print_num()
test.eat()
test.drink()